/**
 * @filename:Proppbom Dec 14, 2023
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(生产用料清单实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_ppbom")
@ApiModel(value="t_prd_ppbom对象", description="生产用料清单表")
public class Proppbom extends Model<Proppbom> {

	private static final long serialVersionUID = 1702542343758537L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "主键")
    private Long id;
    
    @TableField(value = "billNo") 	
	@ApiModelProperty(name = "billNo" , value = "单据编号")
    private String billNo;
    
    @TableField(value = "prdorgId") 	
	@ApiModelProperty(name = "prdorgId" , value = "生产组织")
    private String prdorgId;
    
    @TableField(value = "workShop") 	
	@ApiModelProperty(name = "workShop" , value = "生产车间")
    private String workShop;
    
    @TableField(value = "fqty") 	
	@ApiModelProperty(name = "fqty" , value = "生产数量")
    private Double fqty;
    
    @TableField(value = "unit") 	
	@ApiModelProperty(name = "unit" , value = "单位")
    private String unit;
    
    @TableField(value = "documentStatus") 	
	@ApiModelProperty(name = "documentStatus" , value = "数据状态")
    private String documentStatus;
    
    @TableField(value = "createDate") 	
	@ApiModelProperty(name = "createDate" , value = "创建日期")
    private Date createDate;
    
    @TableField(value = "modifyDate") 	
	@ApiModelProperty(name = "modifyDate" , value = "修改日期")
    private Date modifyDate;
    
    @TableField(value = "taskBillNo") 	
	@ApiModelProperty(name = "taskBillNo" , value = "生产订单单据编号")
    private String taskBillNo;
    
    @TableField(value = "taskMaterialNo") 	
	@ApiModelProperty(name = "taskMaterialNo" , value = "订单物料编码")
    private String taskMaterialNo;
    
    @TableField(value = "taskMaterialName") 	
	@ApiModelProperty(name = "taskMaterialName" , value = "订单物料名称")
    private String taskMaterialName;
    
    @TableField(value = "taskSpecification") 	
	@ApiModelProperty(name = "taskSpecification" , value = "订单物料规格")
    private String taskSpecification;
    
    @TableField(value = "taskUnit") 	
	@ApiModelProperty(name = "taskUnit" , value = "订单物料单位")
    private String taskUnit;
    
    @TableField(value = "fId") 	
	@ApiModelProperty(name = "fId" , value = "单据内码")
    private String fId;
    
    @TableField(value = "entrySeq") 	
	@ApiModelProperty(name = "entrySeq" , value = "生产订单单据行号")
    private Long entrySeq;


    @TableField(value = "needDate")
    @ApiModelProperty(name = "needDate" , value = "需求日期")
    private Date needDate;

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
